package com.ef.service;

import java.util.List;

import com.ef.domain.Company;
import com.ef.util.CustomExample;
import com.ef.util.PaginationSupport;

public interface CompanyService extends BaseService {

	public PaginationSupport<Company> findByExample(
			CustomExample<Company> example, int startIndex, int pageSize);

	public void saveOrUpdate(Company company);

	public void delete(Company company);

	public Company findById(Long id);

	public List<Company> findByAnything(String qitem, int max);
}
